package com.link.base.base.interstatistics.model;

import java.io.Serializable;
import java.util.List;

/**
 * 接口频率限制实体类,缓存中记录数据对应的实体类
 *
 * @author Li Yang
 */
public class VisitStatisticsCache implements Serializable {

    /**
     * 访问时间
     */
    private List<String> visitTimestamps;
    /**
     * 越权次数
     */
    private List<String> overAuthorityTimestamp;
    /**
     * 下次超频访问通知的时间
     */
    private String nextVisitNoticeTime;
    /**
     * 下次越权超频通知的时间
     */
    private String nextOverAuthNoticeTime;
    /**
     * 第一条记录的记录时间
     */
    private String recordStartTime;
    /**
     * 日志记录的环境 dev/test/pub
     */
    private String env;

    /**
     * 日志记录的时间
     */
    private String writeTimestamp;

    public String getWriteTimestamp() {
        return writeTimestamp;
    }

    public void setWriteTimestamp(String writeTimestamp) {
        this.writeTimestamp = writeTimestamp;
    }

    public List<String> getVisitTimestamps() {
        return visitTimestamps;
    }

    public void setVisitTimestamps(List<String> visitTimestamps) {
        this.visitTimestamps = visitTimestamps;
    }

    public List<String> getOverAuthorityTimestamp() {
        return overAuthorityTimestamp;
    }

    public void setOverAuthorityTimestamp(List<String> overAuthorityTimestamp) {
        this.overAuthorityTimestamp = overAuthorityTimestamp;
    }

    public String getNextVisitNoticeTime() {
        return nextVisitNoticeTime;
    }

    public void setNextVisitNoticeTime(String nextVisitNoticeTime) {
        this.nextVisitNoticeTime = nextVisitNoticeTime;
    }

    public String getNextOverAuthNoticeTime() {
        return nextOverAuthNoticeTime;
    }

    public void setNextOverAuthNoticeTime(String nextOverAuthNoticeTime) {
        this.nextOverAuthNoticeTime = nextOverAuthNoticeTime;
    }

    public String getEnv() {
        return env;
    }

    public void setEnv(String env) {
        this.env = env;
    }

    public String getRecordStartTime() {
        return recordStartTime;
    }

    public void setRecordStartTime(String recordStartTime) {
        this.recordStartTime = recordStartTime;
    }
}
